package com.neusoft.ch6.hw;

public class TestDriver {

	public static void main(String[] args) {
		test01();
	}
	
	/**
	 * 练习题1题测试方法
	 */
	private static void test01() {
		// 创建两个Point类的实力对象p1，p2
		Point p1= new Point();
		p1.setPotX(5);
		p1.setPotY(5);
		// 调用移动的行为方法
		p1.movePoint(3, 4);
		
		Point p2 = new Point(5, 6);
		p2.movePoint(1, -1);
	}

}
